<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Iniuriam: /home/etu/v/p1115890/LIF7/EncoreUn/iniuriam/src/affichage_sdl.h File Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Iniuriam
   &#160;<span id="projectnumber">alpha 1</span>
   </div>
   <div id="projectbrief"> RPG futuriste</div>
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">/home/etu/v/p1115890/LIF7/EncoreUn/iniuriam/src/affichage_sdl.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;SDL/SDL.h&gt;</code><br/>
<code>#include &lt;stdlib.h&gt;</code><br/>
<code>#include &lt;stdio.h&gt;</code><br/>
<code>#include &lt;SDL/SDL_ttf.h&gt;</code><br/>
<code>#include &lt;SDL/SDL_image.h&gt;</code><br/>
<code>#include &lt;assert.h&gt;</code><br/>
<code>#include &quot;<a class="el" href="deplacement_8h_source.html">deplacement.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="constante_8h_source.html">constante.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="combat_8h_source.html">combat.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="parole_8h_source.html">parole.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="liste__perso_8h_source.html">liste_perso.h</a>&quot;</code><br/>
</div>
<p><a href="affichage__sdl_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="func-members"></a>
Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="affichage__sdl_8h.html#a8c9cbfd0babfe841f20eedb60a1bd80e">affCarte</a> (const <a class="el" href="structTerrain.html">Terrain</a> *ter, SDL_Surface *ecran)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Preconditions : ter et ecran initalisé et remplis <br/>
 Postconditions : affiche la carte.  <a href="#a8c9cbfd0babfe841f20eedb60a1bd80e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="affichage__sdl_8h.html#a2c749db604e2422a6f905d6db4b946e0">affPerso</a> (const <a class="el" href="structPersonnage.html">Personnage</a> *heros, const <a class="el" href="structListe__Perso.html">Liste_Perso</a> *pnjs, const int nbrPnj, SDL_Surface *ecran)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Preconditions : hero, et ecran initalisé et remplis <br/>
 Postconditions : affiche le hero.  <a href="#a2c749db604e2422a6f905d6db4b946e0"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="affichage__sdl_8h.html#a5d1311b4a8529b2582903f1cd03ade66">affInventaire</a> (<a class="el" href="structPersonnage.html">Personnage</a> *hero, SDL_Surface *ecran)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Preconditions : hero, ecran initalisé et remplis <br/>
 Postconditions :affiche l'inventaire.  <a href="#a5d1311b4a8529b2582903f1cd03ade66"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="affichage__sdl_8h.html#a5e950c494a28f21383ec1119a3bb4b7b">affProfil</a> (<a class="el" href="structPersonnage.html">Personnage</a> *hero, SDL_Surface *ecran)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Preconditions : hero, ecran initalisé et remplis <br/>
 Postconditions :affiche le profil.  <a href="#a5e950c494a28f21383ec1119a3bb4b7b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="affichage__sdl_8h.html#a4482db30fd800f1911b30bbea47391f5">affMenuDialogue</a> (char *info, int curseur, SDL_Surface *ecran)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Preconditions : info, ter initalisé et remplis <br/>
 Postconditions : affiche le menu du dialogue.  <a href="#a4482db30fd800f1911b30bbea47391f5"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="affichage__sdl_8h.html#aa975e1da9e7641eb55bed5119a52bbac">affDialogue</a> (<a class="el" href="structPersonnage.html">Personnage</a> *perso, char *info, SDL_Surface *ecran)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Preconditions : info, ter initalisé et remplis <br/>
 Postconditions : affiche du texte quand un personnage parle, affiche le nom du personnage principal pour un texte informatif.  <a href="#aa975e1da9e7641eb55bed5119a52bbac"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="affichage__sdl_8h.html#a105d812628b620ef1c3d1c2df90e2f35">affSoudoyer</a> (<a class="el" href="structPersonnage.html">Personnage</a> *perso, int curseur, SDL_Surface *ecran)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Preconditions : perso, curseur et ecran initalisé et remplis <br/>
 Postconditions : affiche les choix que l'on peut faire lorsque l'on soudoie.  <a href="#a105d812628b620ef1c3d1c2df90e2f35"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="affichage__sdl_8h.html#a55b07cbda1a3b3b536186a108119b4d5">affInvPnj</a> (<a class="el" href="structPersonnage.html">Personnage</a> *pnj, SDL_Surface *ecran)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Preconditions : dialogue, objet et ecran initialisés et remplis <br/>
 Postconditions : affiche l'interface d'achat.  <a href="#a55b07cbda1a3b3b536186a108119b4d5"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="affichage__sdl_8h.html#a1ee2de8a44965b887c002324e0d6492e">affVendre</a> (<a class="el" href="structDialogue.html">Dialogue</a> *dialogue, <a class="el" href="structObjet.html">Objet</a> *objet, SDL_Surface *ecran)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Preconditions : dialogue, objet et ecran initialisés et remplis <br/>
 Postconditions : affiche l'interface de vente.  <a href="#a1ee2de8a44965b887c002324e0d6492e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="affichage__sdl_8h.html#a655eb476bc06675e13bf8b2519d2a514">affInfOb</a> (SDL_Rect *position, <a class="el" href="structObjet.html">Objet</a> *objet, SDL_Surface *ecran)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Preconditions : position, objet et ecran initalisé et remplis <br/>
 Postconditions :affiche les informations d'un objet.  <a href="#a655eb476bc06675e13bf8b2519d2a514"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="affichage__sdl_8h.html#a46c97dcfa8908ec581de7e12fee4c07f">affCombat</a> (<a class="el" href="structTerrain.html">Terrain</a> *ter, <a class="el" href="structCombattant.html">Combattant</a> *groupe, int l, char arene[<a class="el" href="constante_8h.html#ac1049bafa9c744bc36db5e3a0a6cf8ed">TAILLE_MAX_H</a>][<a class="el" href="constante_8h.html#aebaf3b6f2e7f670f39b91564011c9d20">TAILLE_MAX_L</a>], SDL_Surface *ecran)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Preconditions : ter, groupe, l, arene et ecran initialisés et remplis <br/>
 Postconditions : affiche du texte.  <a href="#a46c97dcfa8908ec581de7e12fee4c07f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="affichage__sdl_8h.html#a7758f45a6342a499ce6612f859da4a25">affArmesEqui</a> (<a class="el" href="structCombattant.html">Combattant</a> *hero, int choix, SDL_Surface *ecran)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Preconditions : combattant, choix et ecran initalisé et remplis <br/>
 Postconditions : affiche la selection de l'arme en combat.  <a href="#a7758f45a6342a499ce6612f859da4a25"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="affichage__sdl_8h.html#acc0a8c064ab619ab880e713e3e280e92">affAttaque</a> (int choix, SDL_Surface *ecran)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Preconditions : choix et ecran initialisés et remplis <br/>
 Postconditions : affiche le choix des attaques.  <a href="#acc0a8c064ab619ab880e713e3e280e92"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="affichage__sdl_8h.html#ac95f4c34283a3075a1cc615877a60361">eventJeuSDL</a> (<a class="el" href="structPersonnage.html">Personnage</a> *hero, int nbrHero, <a class="el" href="structListe__Perso.html">Liste_Perso</a> *pnjs, int nbrPnj, <a class="el" href="structMission.html">Mission</a> *mission, <a class="el" href="structObjet.html">Objet</a> *tabObjets, <a class="el" href="structTerrain.html">Terrain</a> *ter, SDL_Surface *ecran)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Preconditions : hero, pnj, ter et ecran initalisé et remplis <br/>
 Postconditions : gère les évenements en jeu.  <a href="#ac95f4c34283a3075a1cc615877a60361"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="affichage__sdl_8h.html#aaa76898977ab99494b0fc2dd9c0cde7c">eventJournalSDL</a> (<a class="el" href="structPersonnage.html">Personnage</a> *hero, <a class="el" href="structMission.html">Mission</a> *mission, SDL_Surface *ecran)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Preconditions : hero, ecran initalisé et remplis <br/>
 Postconditions : gère les évements du journa de qetes.  <a href="#aaa76898977ab99494b0fc2dd9c0cde7c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="affichage__sdl_8h.html#aa4bc5e788eba82a2d467dd5b609a4800">eventProfilSDL</a> (<a class="el" href="structPersonnage.html">Personnage</a> *hero, int nbHero, SDL_Surface *ecran)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Preconditions : hero, ecran initalisé et remplis <br/>
 Postconditions : gère les évements du profil.  <a href="#aa4bc5e788eba82a2d467dd5b609a4800"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="affichage__sdl_8h.html#a8398bd1ed5850b83e7a90f65319a6ce1">eventInventaireSDL</a> (<a class="el" href="structPersonnage.html">Personnage</a> *hero, int nbHero, SDL_Surface *ecran)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Preconditions : hero, ecran initalisé et remplis <br/>
 Postconditions : gère les évements de l'inventaire.  <a href="#a8398bd1ed5850b83e7a90f65319a6ce1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="affichage__sdl_8h.html#a80d16fc19a62a7ba33e97151a02abe9a">eventCombatSDL</a> (<a class="el" href="structPersonnage.html">Personnage</a> *hero, const int nbrHero, <a class="el" href="structListe__Perso.html">Liste_Perso</a> *ennemi, <a class="el" href="structTerrain.html">Terrain</a> *ter, SDL_Surface *ecran)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Preconditions : hero, ennemi, ter et ecran initialisés <br/>
 Postconditions : gère les évenements lors du combat.  <a href="#a80d16fc19a62a7ba33e97151a02abe9a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="affichage__sdl_8h.html#ab2eb729cddb5a67d4daefbf9bea11744">eventTourJoueurSDL</a> (<a class="el" href="structCombattant.html">Combattant</a> *groupe, int j, int l, char arene[<a class="el" href="constante_8h.html#ac1049bafa9c744bc36db5e3a0a6cf8ed">TAILLE_MAX_H</a>][<a class="el" href="constante_8h.html#aebaf3b6f2e7f670f39b91564011c9d20">TAILLE_MAX_L</a>], char *info, <a class="el" href="structTerrain.html">Terrain</a> *ter, SDL_Surface *ecran)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Preconditions :groupe, j, l et arene sont initialisés <br/>
 Postconditions : gère les évenements lors du tour de combat du joueur.  <a href="#ab2eb729cddb5a67d4daefbf9bea11744"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="affichage__sdl_8h.html#a7cb03f6e1445b2223a32f64b1c9bdc24">eventAttaqueSDL</a> (<a class="el" href="structCombattant.html">Combattant</a> *combattant, <a class="el" href="structCombattant.html">Combattant</a> *defenseur, <a class="el" href="structObjet.html">Objet</a> *arme, char arene[<a class="el" href="constante_8h.html#ac1049bafa9c744bc36db5e3a0a6cf8ed">TAILLE_MAX_H</a>][<a class="el" href="constante_8h.html#aebaf3b6f2e7f670f39b91564011c9d20">TAILLE_MAX_L</a>], char *info, SDL_Surface *ecran)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Preconditions : combattant, defenseur, arme, arene et ecran initalisé et remplis <br/>
 Postconditions : gère les évenements lors de l'attaque.  <a href="#a7cb03f6e1445b2223a32f64b1c9bdc24"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="affichage__sdl_8h.html#a953c22c709afc989d2ec9ede4302ffc4">eventArmesEquiSDL</a> (<a class="el" href="structCombattant.html">Combattant</a> *combattant, int choix, SDL_Surface *ecran)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Preconditions : combattant et ecran initalisé et remplis <br/>
 Postconditions : gère la selection de l'arme en combat et retourne le choix qu'on a fait.  <a href="#a953c22c709afc989d2ec9ede4302ffc4"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="affichage__sdl_8h.html#aafa59b7ed7340fd137ab0a577e643a6a">eventRecupInvSDL</a> (<a class="el" href="structPersonnage.html">Personnage</a> *hero, <a class="el" href="structPersonnage.html">Personnage</a> *ennemi, <a class="el" href="structMission.html">Mission</a> *mission, <a class="el" href="structObjet.html">Objet</a> *tabObjets, SDL_Surface *ecran)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Preconditions : hero, ennemi et ecran initalisé et remplis <br/>
 Postconditions : gère la recupération de l'inventaire de l'ennemi.  <a href="#aafa59b7ed7340fd137ab0a577e643a6a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="affichage__sdl_8h.html#ad65539be3db1f82456d5c8132243db2d">eventDialogueSDL</a> (<a class="el" href="structDialogue.html">Dialogue</a> *dialogue, const <a class="el" href="structPersonnage.html">Personnage</a> *pnjs, char repondre[400], <a class="el" href="structMission.html">Mission</a> *mission, <a class="el" href="structObjet.html">Objet</a> *tabObjets, <a class="el" href="structTerrain.html">Terrain</a> *ter, SDL_Surface *ecran)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Preconditions : hero, pnj et ecran initalisé et remplis <br/>
 Postconditions : gère les évenements du dialogue.  <a href="#ad65539be3db1f82456d5c8132243db2d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="affichage__sdl_8h.html#a0c80f9224656b9fbe0a5819e00768865">eventSoudoyerSDL</a> (<a class="el" href="structDialogue.html">Dialogue</a> *dialogue, char *rep, SDL_Surface *ecran)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Preconditions : dialogue, rep et ecran initialisés <br/>
 Postconditions : gère les évenements de soudoyer.  <a href="#a0c80f9224656b9fbe0a5819e00768865"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="affichage__sdl_8h.html#a3c5216e98df79ab559b2cb2f6b8df76d">eventAcheterSDL</a> (<a class="el" href="structDialogue.html">Dialogue</a> *dialogue, char *reponse, <a class="el" href="structMission.html">Mission</a> *mission, <a class="el" href="structObjet.html">Objet</a> *tabObjets, SDL_Surface *ecran)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Preconditions : dialogue, reponse et ecran initialisés <br/>
 Postconditions : gère les évenements de l'achat.  <a href="#a3c5216e98df79ab559b2cb2f6b8df76d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="affichage__sdl_8h.html#af17b2995f0589ee56eacebf944b80e8c">eventVendreSDL</a> (<a class="el" href="structDialogue.html">Dialogue</a> *dialogue, char *reponse, SDL_Surface *ecran)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Preconditions : dialogue, reponse et ecran initialisés <br/>
 Postconditions : gère les évenements de la vente.  <a href="#af17b2995f0589ee56eacebf944b80e8c"></a><br/></td></tr>
</table>
<hr/><h2>Function Documentation</h2>
<a class="anchor" id="a7758f45a6342a499ce6612f859da4a25"></a><!-- doxytag: member="affichage_sdl.h::affArmesEqui" ref="a7758f45a6342a499ce6612f859da4a25" args="(Combattant *hero, int choix, SDL_Surface *ecran)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="affichage__sdl_8h.html#a7758f45a6342a499ce6612f859da4a25">affArmesEqui</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structCombattant.html">Combattant</a> *&#160;</td>
          <td class="paramname"><em>hero</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>choix</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>ecran</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Preconditions : combattant, choix et ecran initalisé et remplis <br/>
 Postconditions : affiche la selection de l'arme en combat. </p>

</div>
</div>
<a class="anchor" id="acc0a8c064ab619ab880e713e3e280e92"></a><!-- doxytag: member="affichage_sdl.h::affAttaque" ref="acc0a8c064ab619ab880e713e3e280e92" args="(int choix, SDL_Surface *ecran)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="affichage__sdl_8h.html#acc0a8c064ab619ab880e713e3e280e92">affAttaque</a> </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>choix</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>ecran</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Preconditions : choix et ecran initialisés et remplis <br/>
 Postconditions : affiche le choix des attaques. </p>

</div>
</div>
<a class="anchor" id="a8c9cbfd0babfe841f20eedb60a1bd80e"></a><!-- doxytag: member="affichage_sdl.h::affCarte" ref="a8c9cbfd0babfe841f20eedb60a1bd80e" args="(const Terrain *ter, SDL_Surface *ecran)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="affichage__SDL__Editeur_8h.html#a38e95e685e9d176130226aa50b6ed67c">affCarte</a> </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structTerrain.html">Terrain</a> *&#160;</td>
          <td class="paramname"><em>ter</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>ecran</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Preconditions : ter et ecran initalisé et remplis <br/>
 Postconditions : affiche la carte. </p>
<dl class="author"><dt><b>Author:</b></dt><dd>RODARIE Dimitri, VERSAEVEL Romain, FLORES Isabelle </dd></dl>

</div>
</div>
<a class="anchor" id="a46c97dcfa8908ec581de7e12fee4c07f"></a><!-- doxytag: member="affichage_sdl.h::affCombat" ref="a46c97dcfa8908ec581de7e12fee4c07f" args="(Terrain *ter, Combattant *groupe, int l, char arene[TAILLE_MAX_H][TAILLE_MAX_L], SDL_Surface *ecran)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="affichage__sdl_8h.html#a46c97dcfa8908ec581de7e12fee4c07f">affCombat</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structTerrain.html">Terrain</a> *&#160;</td>
          <td class="paramname"><em>ter</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structCombattant.html">Combattant</a> *&#160;</td>
          <td class="paramname"><em>groupe</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>l</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char&#160;</td>
          <td class="paramname"><em>arene</em>[TAILLE_MAX_H][TAILLE_MAX_L], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>ecran</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Preconditions : ter, groupe, l, arene et ecran initialisés et remplis <br/>
 Postconditions : affiche du texte. </p>

</div>
</div>
<a class="anchor" id="aa975e1da9e7641eb55bed5119a52bbac"></a><!-- doxytag: member="affichage_sdl.h::affDialogue" ref="aa975e1da9e7641eb55bed5119a52bbac" args="(Personnage *perso, char *info, SDL_Surface *ecran)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="affichage__sdl_8h.html#aa975e1da9e7641eb55bed5119a52bbac">affDialogue</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structPersonnage.html">Personnage</a> *&#160;</td>
          <td class="paramname"><em>perso</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname"><em>info</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>ecran</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Preconditions : info, ter initalisé et remplis <br/>
 Postconditions : affiche du texte quand un personnage parle, affiche le nom du personnage principal pour un texte informatif. </p>

</div>
</div>
<a class="anchor" id="a655eb476bc06675e13bf8b2519d2a514"></a><!-- doxytag: member="affichage_sdl.h::affInfOb" ref="a655eb476bc06675e13bf8b2519d2a514" args="(SDL_Rect *position, Objet *objet, SDL_Surface *ecran)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="affichage__sdl_8h.html#a655eb476bc06675e13bf8b2519d2a514">affInfOb</a> </td>
          <td>(</td>
          <td class="paramtype">SDL_Rect *&#160;</td>
          <td class="paramname"><em>position</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structObjet.html">Objet</a> *&#160;</td>
          <td class="paramname"><em>objet</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>ecran</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Preconditions : position, objet et ecran initalisé et remplis <br/>
 Postconditions :affiche les informations d'un objet. </p>

</div>
</div>
<a class="anchor" id="a5d1311b4a8529b2582903f1cd03ade66"></a><!-- doxytag: member="affichage_sdl.h::affInventaire" ref="a5d1311b4a8529b2582903f1cd03ade66" args="(Personnage *hero, SDL_Surface *ecran)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="affichage__sdl_8h.html#a5d1311b4a8529b2582903f1cd03ade66">affInventaire</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structPersonnage.html">Personnage</a> *&#160;</td>
          <td class="paramname"><em>hero</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>ecran</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Preconditions : hero, ecran initalisé et remplis <br/>
 Postconditions :affiche l'inventaire. </p>

</div>
</div>
<a class="anchor" id="a55b07cbda1a3b3b536186a108119b4d5"></a><!-- doxytag: member="affichage_sdl.h::affInvPnj" ref="a55b07cbda1a3b3b536186a108119b4d5" args="(Personnage *pnj, SDL_Surface *ecran)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="affichage__sdl_8h.html#a55b07cbda1a3b3b536186a108119b4d5">affInvPnj</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structPersonnage.html">Personnage</a> *&#160;</td>
          <td class="paramname"><em>pnj</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>ecran</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Preconditions : dialogue, objet et ecran initialisés et remplis <br/>
 Postconditions : affiche l'interface d'achat. </p>

</div>
</div>
<a class="anchor" id="a4482db30fd800f1911b30bbea47391f5"></a><!-- doxytag: member="affichage_sdl.h::affMenuDialogue" ref="a4482db30fd800f1911b30bbea47391f5" args="(char *info, int curseur, SDL_Surface *ecran)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="affichage__sdl_8h.html#a4482db30fd800f1911b30bbea47391f5">affMenuDialogue</a> </td>
          <td>(</td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname"><em>info</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>curseur</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>ecran</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Preconditions : info, ter initalisé et remplis <br/>
 Postconditions : affiche le menu du dialogue. </p>

</div>
</div>
<a class="anchor" id="a2c749db604e2422a6f905d6db4b946e0"></a><!-- doxytag: member="affichage_sdl.h::affPerso" ref="a2c749db604e2422a6f905d6db4b946e0" args="(const Personnage *heros, const Liste_Perso *pnjs, const int nbrPnj, SDL_Surface *ecran)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="affichage__sdl_8h.html#a2c749db604e2422a6f905d6db4b946e0">affPerso</a> </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structPersonnage.html">Personnage</a> *&#160;</td>
          <td class="paramname"><em>heros</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structListe__Perso.html">Liste_Perso</a> *&#160;</td>
          <td class="paramname"><em>pnjs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const int&#160;</td>
          <td class="paramname"><em>nbrPnj</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>ecran</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Preconditions : hero, et ecran initalisé et remplis <br/>
 Postconditions : affiche le hero. </p>

</div>
</div>
<a class="anchor" id="a5e950c494a28f21383ec1119a3bb4b7b"></a><!-- doxytag: member="affichage_sdl.h::affProfil" ref="a5e950c494a28f21383ec1119a3bb4b7b" args="(Personnage *hero, SDL_Surface *ecran)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="affichage__sdl_8h.html#a5e950c494a28f21383ec1119a3bb4b7b">affProfil</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structPersonnage.html">Personnage</a> *&#160;</td>
          <td class="paramname"><em>hero</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>ecran</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Preconditions : hero, ecran initalisé et remplis <br/>
 Postconditions :affiche le profil. </p>

</div>
</div>
<a class="anchor" id="a105d812628b620ef1c3d1c2df90e2f35"></a><!-- doxytag: member="affichage_sdl.h::affSoudoyer" ref="a105d812628b620ef1c3d1c2df90e2f35" args="(Personnage *perso, int curseur, SDL_Surface *ecran)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="affichage__sdl_8h.html#a105d812628b620ef1c3d1c2df90e2f35">affSoudoyer</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structPersonnage.html">Personnage</a> *&#160;</td>
          <td class="paramname"><em>perso</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>curseur</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>ecran</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Preconditions : perso, curseur et ecran initalisé et remplis <br/>
 Postconditions : affiche les choix que l'on peut faire lorsque l'on soudoie. </p>

</div>
</div>
<a class="anchor" id="a1ee2de8a44965b887c002324e0d6492e"></a><!-- doxytag: member="affichage_sdl.h::affVendre" ref="a1ee2de8a44965b887c002324e0d6492e" args="(Dialogue *dialogue, Objet *objet, SDL_Surface *ecran)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="affichage__sdl_8h.html#a1ee2de8a44965b887c002324e0d6492e">affVendre</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structDialogue.html">Dialogue</a> *&#160;</td>
          <td class="paramname"><em>dialogue</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structObjet.html">Objet</a> *&#160;</td>
          <td class="paramname"><em>objet</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>ecran</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Preconditions : dialogue, objet et ecran initialisés et remplis <br/>
 Postconditions : affiche l'interface de vente. </p>

</div>
</div>
<a class="anchor" id="a3c5216e98df79ab559b2cb2f6b8df76d"></a><!-- doxytag: member="affichage_sdl.h::eventAcheterSDL" ref="a3c5216e98df79ab559b2cb2f6b8df76d" args="(Dialogue *dialogue, char *reponse, Mission *mission, Objet *tabObjets, SDL_Surface *ecran)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="affichage__sdl_8h.html#a3c5216e98df79ab559b2cb2f6b8df76d">eventAcheterSDL</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structDialogue.html">Dialogue</a> *&#160;</td>
          <td class="paramname"><em>dialogue</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname"><em>reponse</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structMission.html">Mission</a> *&#160;</td>
          <td class="paramname"><em>mission</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structObjet.html">Objet</a> *&#160;</td>
          <td class="paramname"><em>tabObjets</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>ecran</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Preconditions : dialogue, reponse et ecran initialisés <br/>
 Postconditions : gère les évenements de l'achat. </p>

</div>
</div>
<a class="anchor" id="a953c22c709afc989d2ec9ede4302ffc4"></a><!-- doxytag: member="affichage_sdl.h::eventArmesEquiSDL" ref="a953c22c709afc989d2ec9ede4302ffc4" args="(Combattant *combattant, int choix, SDL_Surface *ecran)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="affichage__sdl_8h.html#a953c22c709afc989d2ec9ede4302ffc4">eventArmesEquiSDL</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structCombattant.html">Combattant</a> *&#160;</td>
          <td class="paramname"><em>combattant</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>choix</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>ecran</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Preconditions : combattant et ecran initalisé et remplis <br/>
 Postconditions : gère la selection de l'arme en combat et retourne le choix qu'on a fait. </p>

</div>
</div>
<a class="anchor" id="a7cb03f6e1445b2223a32f64b1c9bdc24"></a><!-- doxytag: member="affichage_sdl.h::eventAttaqueSDL" ref="a7cb03f6e1445b2223a32f64b1c9bdc24" args="(Combattant *combattant, Combattant *defenseur, Objet *arme, char arene[TAILLE_MAX_H][TAILLE_MAX_L], char *info, SDL_Surface *ecran)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="affichage__sdl_8h.html#a7cb03f6e1445b2223a32f64b1c9bdc24">eventAttaqueSDL</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structCombattant.html">Combattant</a> *&#160;</td>
          <td class="paramname"><em>combattant</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structCombattant.html">Combattant</a> *&#160;</td>
          <td class="paramname"><em>defenseur</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structObjet.html">Objet</a> *&#160;</td>
          <td class="paramname"><em>arme</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char&#160;</td>
          <td class="paramname"><em>arene</em>[TAILLE_MAX_H][TAILLE_MAX_L], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname"><em>info</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>ecran</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Preconditions : combattant, defenseur, arme, arene et ecran initalisé et remplis <br/>
 Postconditions : gère les évenements lors de l'attaque. </p>

</div>
</div>
<a class="anchor" id="a80d16fc19a62a7ba33e97151a02abe9a"></a><!-- doxytag: member="affichage_sdl.h::eventCombatSDL" ref="a80d16fc19a62a7ba33e97151a02abe9a" args="(Personnage *hero, const int nbrHero, Liste_Perso *ennemi, Terrain *ter, SDL_Surface *ecran)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="affichage__sdl_8h.html#a80d16fc19a62a7ba33e97151a02abe9a">eventCombatSDL</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structPersonnage.html">Personnage</a> *&#160;</td>
          <td class="paramname"><em>hero</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const int&#160;</td>
          <td class="paramname"><em>nbrHero</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structListe__Perso.html">Liste_Perso</a> *&#160;</td>
          <td class="paramname"><em>ennemi</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structTerrain.html">Terrain</a> *&#160;</td>
          <td class="paramname"><em>ter</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>ecran</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Preconditions : hero, ennemi, ter et ecran initialisés <br/>
 Postconditions : gère les évenements lors du combat. </p>

</div>
</div>
<a class="anchor" id="ad65539be3db1f82456d5c8132243db2d"></a><!-- doxytag: member="affichage_sdl.h::eventDialogueSDL" ref="ad65539be3db1f82456d5c8132243db2d" args="(Dialogue *dialogue, const Personnage *pnjs, char repondre[400], Mission *mission, Objet *tabObjets, Terrain *ter, SDL_Surface *ecran)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="affichage__sdl_8h.html#ad65539be3db1f82456d5c8132243db2d">eventDialogueSDL</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structDialogue.html">Dialogue</a> *&#160;</td>
          <td class="paramname"><em>dialogue</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structPersonnage.html">Personnage</a> *&#160;</td>
          <td class="paramname"><em>pnjs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char&#160;</td>
          <td class="paramname"><em>repondre</em>[400], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structMission.html">Mission</a> *&#160;</td>
          <td class="paramname"><em>mission</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structObjet.html">Objet</a> *&#160;</td>
          <td class="paramname"><em>tabObjets</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structTerrain.html">Terrain</a> *&#160;</td>
          <td class="paramname"><em>ter</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>ecran</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Preconditions : hero, pnj et ecran initalisé et remplis <br/>
 Postconditions : gère les évenements du dialogue. </p>

</div>
</div>
<a class="anchor" id="a8398bd1ed5850b83e7a90f65319a6ce1"></a><!-- doxytag: member="affichage_sdl.h::eventInventaireSDL" ref="a8398bd1ed5850b83e7a90f65319a6ce1" args="(Personnage *hero, int nbHero, SDL_Surface *ecran)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="affichage__sdl_8h.html#a8398bd1ed5850b83e7a90f65319a6ce1">eventInventaireSDL</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structPersonnage.html">Personnage</a> *&#160;</td>
          <td class="paramname"><em>hero</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>nbHero</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>ecran</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Preconditions : hero, ecran initalisé et remplis <br/>
 Postconditions : gère les évements de l'inventaire. </p>
<p>utiliser objet</p>
<p>equiper armure</p>
<p>equiper arme </p>

</div>
</div>
<a class="anchor" id="ac95f4c34283a3075a1cc615877a60361"></a><!-- doxytag: member="affichage_sdl.h::eventJeuSDL" ref="ac95f4c34283a3075a1cc615877a60361" args="(Personnage *hero, int nbrHero, Liste_Perso *pnjs, int nbrPnj, Mission *mission, Objet *tabObjets, Terrain *ter, SDL_Surface *ecran)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="affichage__sdl_8h.html#ac95f4c34283a3075a1cc615877a60361">eventJeuSDL</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structPersonnage.html">Personnage</a> *&#160;</td>
          <td class="paramname"><em>hero</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>nbrHero</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structListe__Perso.html">Liste_Perso</a> *&#160;</td>
          <td class="paramname"><em>pnjs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>nbrPnj</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structMission.html">Mission</a> *&#160;</td>
          <td class="paramname"><em>mission</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structObjet.html">Objet</a> *&#160;</td>
          <td class="paramname"><em>tabObjets</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structTerrain.html">Terrain</a> *&#160;</td>
          <td class="paramname"><em>ter</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>ecran</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Preconditions : hero, pnj, ter et ecran initalisé et remplis <br/>
 Postconditions : gère les évenements en jeu. </p>
<p>Deplacement vers la droite</p>
<p>Deplacement vers la gauche</p>
<p>Deplacement vers le bas</p>
<p>Déplacement vers le haut</p>
<p>Touche d'action</p>
<p>Touche d'inventaire</p>
<p>Touche de profil</p>
<p>Touche du journal de quete </p>

</div>
</div>
<a class="anchor" id="aaa76898977ab99494b0fc2dd9c0cde7c"></a><!-- doxytag: member="affichage_sdl.h::eventJournalSDL" ref="aaa76898977ab99494b0fc2dd9c0cde7c" args="(Personnage *hero, Mission *mission, SDL_Surface *ecran)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="affichage__sdl_8h.html#aaa76898977ab99494b0fc2dd9c0cde7c">eventJournalSDL</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structPersonnage.html">Personnage</a> *&#160;</td>
          <td class="paramname"><em>hero</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structMission.html">Mission</a> *&#160;</td>
          <td class="paramname"><em>mission</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>ecran</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Preconditions : hero, ecran initalisé et remplis <br/>
 Postconditions : gère les évements du journa de qetes. </p>

</div>
</div>
<a class="anchor" id="aa4bc5e788eba82a2d467dd5b609a4800"></a><!-- doxytag: member="affichage_sdl.h::eventProfilSDL" ref="aa4bc5e788eba82a2d467dd5b609a4800" args="(Personnage *hero, int nbHero, SDL_Surface *ecran)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="affichage__sdl_8h.html#aa4bc5e788eba82a2d467dd5b609a4800">eventProfilSDL</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structPersonnage.html">Personnage</a> *&#160;</td>
          <td class="paramname"><em>hero</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>nbHero</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>ecran</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Preconditions : hero, ecran initalisé et remplis <br/>
 Postconditions : gère les évements du profil. </p>

</div>
</div>
<a class="anchor" id="aafa59b7ed7340fd137ab0a577e643a6a"></a><!-- doxytag: member="affichage_sdl.h::eventRecupInvSDL" ref="aafa59b7ed7340fd137ab0a577e643a6a" args="(Personnage *hero, Personnage *ennemi, Mission *mission, Objet *tabObjets, SDL_Surface *ecran)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="affichage__sdl_8h.html#aafa59b7ed7340fd137ab0a577e643a6a">eventRecupInvSDL</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structPersonnage.html">Personnage</a> *&#160;</td>
          <td class="paramname"><em>hero</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structPersonnage.html">Personnage</a> *&#160;</td>
          <td class="paramname"><em>ennemi</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structMission.html">Mission</a> *&#160;</td>
          <td class="paramname"><em>mission</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structObjet.html">Objet</a> *&#160;</td>
          <td class="paramname"><em>tabObjets</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>ecran</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Preconditions : hero, ennemi et ecran initalisé et remplis <br/>
 Postconditions : gère la recupération de l'inventaire de l'ennemi. </p>

</div>
</div>
<a class="anchor" id="a0c80f9224656b9fbe0a5819e00768865"></a><!-- doxytag: member="affichage_sdl.h::eventSoudoyerSDL" ref="a0c80f9224656b9fbe0a5819e00768865" args="(Dialogue *dialogue, char *rep, SDL_Surface *ecran)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="affichage__sdl_8h.html#a0c80f9224656b9fbe0a5819e00768865">eventSoudoyerSDL</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structDialogue.html">Dialogue</a> *&#160;</td>
          <td class="paramname"><em>dialogue</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname"><em>rep</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>ecran</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Preconditions : dialogue, rep et ecran initialisés <br/>
 Postconditions : gère les évenements de soudoyer. </p>

</div>
</div>
<a class="anchor" id="ab2eb729cddb5a67d4daefbf9bea11744"></a><!-- doxytag: member="affichage_sdl.h::eventTourJoueurSDL" ref="ab2eb729cddb5a67d4daefbf9bea11744" args="(Combattant *groupe, int j, int l, char arene[TAILLE_MAX_H][TAILLE_MAX_L], char *info, Terrain *ter, SDL_Surface *ecran)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="affichage__sdl_8h.html#ab2eb729cddb5a67d4daefbf9bea11744">eventTourJoueurSDL</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structCombattant.html">Combattant</a> *&#160;</td>
          <td class="paramname"><em>groupe</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>j</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>l</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char&#160;</td>
          <td class="paramname"><em>arene</em>[TAILLE_MAX_H][TAILLE_MAX_L], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname"><em>info</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structTerrain.html">Terrain</a> *&#160;</td>
          <td class="paramname"><em>ter</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>ecran</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Preconditions :groupe, j, l et arene sont initialisés <br/>
 Postconditions : gère les évenements lors du tour de combat du joueur. </p>
<p>Deplacement vers la droite</p>
<p>Deplacement vers la gauche</p>
<p>Deplacement vers le bas</p>
<p>Déplacement vers le haut</p>
<p>attaquer </p>

</div>
</div>
<a class="anchor" id="af17b2995f0589ee56eacebf944b80e8c"></a><!-- doxytag: member="affichage_sdl.h::eventVendreSDL" ref="af17b2995f0589ee56eacebf944b80e8c" args="(Dialogue *dialogue, char *reponse, SDL_Surface *ecran)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="affichage__sdl_8h.html#af17b2995f0589ee56eacebf944b80e8c">eventVendreSDL</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structDialogue.html">Dialogue</a> *&#160;</td>
          <td class="paramname"><em>dialogue</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname"><em>reponse</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>ecran</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Preconditions : dialogue, reponse et ecran initialisés <br/>
 Postconditions : gère les évenements de la vente. </p>

</div>
</div>
</div><!-- contents -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Tue Jun 4 2013 08:45:33 for Iniuriam by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.6.1
</small></address>

</body>
</html>
